package game.breeze.gameserver.message.processor;

import game.breeze.gameserver.controller.PlayerController;
import game.breeze.message.AppMessage;
import game.breeze.message.WorldMessageCode;
import game.breeze.socket.util.ByteBuffer;

public class WorldMessageProcessor implements IMessageProcessor {
	private static final WorldMessageProcessor instance = new WorldMessageProcessor();

	private WorldMessageProcessor() {

	}

	public static final WorldMessageProcessor getInstance() {
		return instance;
	}

	@Override
	public void proccessMessage(PlayerController controller, AppMessage message) {
		ByteBuffer buffer = message.getBuffer();
		int type = buffer.readInt();
		switch (type) {
		case WorldMessageCode.MSG_WORLD_MOVE:
			break;
		default:
			break;
		}
	}
}
